<template>
  <template v-for="(item, index) in list" :key="index">
    <slot :item="item" :index="index"></slot>
    <slot name="namedSlot" :item="item" :index="index"></slot>
  </template>
</template>

<script>
export default {
  props: {
    list: Array
  }
}
</script>

<style scoped></style>
